@import "../../../../sass/base.scss";

.environmental-monitoring {
  height: 100%;
  width: 100%;
  padding: 7px 32px;
  %echarts {
    // height: 30%;
    // min-height: 250px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 8px #ddd;
    .echarts-top {
      height: 50px;
      line-height: 50px;
      padding: 0px 20px;
      border-bottom: 1px solid #e5e5e5;
      .echarts-top-left {
        float: left;
        color: rgba(0,0,0,0.85);
      }
      .echarts-top-right {
        float: right;
      }
    }
  }
  .ant-radio-group-small .ant-radio-button-wrapper {
    padding: 0 10px;
  }
  .ant-radio-button-wrapper {
    border: none;
    border-radius: 4px;
  }
  .ant-radio-button-wrapper:not(:first-child)::before {
    width: 0;
  }
  .environmental-monitoring-body-mid,
  .environmental-monitoring-body-bottom {
    .ant-col-12:first-child {
      padding-left: 0 !important;
      padding-right: 10px !important;
    }
    .ant-col-12:last-child {
      padding-right: 0 !important;
      padding-left: 10px !important;
    }
  }
  .environmental-monitoring-body-mid-add {
    margin-left: -8px;
    margin-right: -8px;
    @extend %echarts;
    margin-bottom: 20px;
  }
  .environmental-monitoring-body-mid-left,
  .environmental-monitoring-body-mid-right {
    @extend %echarts;
  }
  .environmental-monitoring-body-bottom-left,
  .environmental-monitoring-body-bottom-right {
    @extend %echarts;
  }
  .environmental-monitoring-head {
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    overflow: hidden;
    .head-left {
      float: left;
    }
    .head-right {
      float: right;
    }
  }
  .environmental-monitoring-body {
    width: 100%;
    height: calc(100% - 70px);
    // background-color: #fff;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    overflow: auto;
    // box-shadow: 0px 0px 8px #ddd;
    .environmental-monitoring-body-top,
    .environmental-monitoring-body-mid {
      margin-bottom: 20px;
    }
    .environmental-monitoring-body-top-item {
      width: 19%;
      height: 122px;
      border-radius: 5px;
      background-color: #fff;
      box-shadow: 0px 0px 8px #ddd;
      padding: 30px 20px !important;
      .environmental-monitoring-body-top-info {
        float: left;
        div:first-child {
          color: #acacac;
        }
        div:last-child {
          font-size: 20px;
          color: #000;
        }
      }
      .environmental-monitoring-body-top-icon {
        float: right;
        margin-top: 10px;
        img {
          width: 100px;
        }
      }
    }
  }
}
